import { request } from '@/utils/request'
import { swiperItem, swiperQuery } from '@/types/swiper'

export const getSwiperList = (data: swiperQuery) => {
  return request<{ items: swiperItem[]; total: number }>({
    url: 'banner/list',
    data
  })
}
